From d497470214ffa55e8e9879ac7c5c0814c33d50f0 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 10 Apr 2008 09:44:47 +0000 Subject: [PATCH] (CLIENTRES): New variable and build target. (all): Depend on it. ($(TRES)): Use $(TRES) in rule. --- nt/makefile.w32-in | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index e6567c048f3..aef71cfddd9 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in @@ -24,14 +24,16 @@ # FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out # (and remove or replace this comment). -ALL = addpm ddeclient runemacs cmdproxy addsection preprep - -.PHONY: $(ALL) - TRES = $(BLD)/emacs.res +CLIENTRES = $(BLD)/emacsclient.res XMFLAGS = +ALL = addpm ddeclient runemacs cmdproxy addsection preprep $(CLIENTRES) + +.PHONY: $(ALL) + + addpm: stamp_BLD $(BLD)/addpm.exe $(BLD)/addpm.exe: $(BLD)/addpm.$(O) $(LINK) $(LINK_OUT)$@ \ @@ -62,7 +64,10 @@ $(BLD)/preprep.exe: $(BLD)/preprep.$(O) # it is not necessary on later versions, it is still ok to use it. # $(TRES): emacs.rc stamp_BLD - $(RC) $(RC_OUT)$(BLD)/emacs.res emacs.rc + $(RC) $(RC_OUT)$(TRES) emacs.rc + +$(CLIENTRES): emacsclient.rc stamp_BLD + $(RC) $(RC_OUT)$(CLIENTRES) emacsclient.rc runemacs: stamp_BLD $(BLD)/runemacs.exe $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES) -- 2.30.2